[Ffmpeg-devel] [PATCH] Fix segfault in bmp decoder

Michel Bardiaux mbardiaux
Tue Jan 30 12:01:40 CET 2007


Cian Duffy wrote:
> On 30/01/07, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
>>
>> Michael Niedermayer wrote:
>>
>> >
>> > PS: ive seen alot of mime types on patches but yours had
>> > Content-Type: image/x-coreldrawpattern
>> >
>> I've checked: both debian sarge (stable) and debian etch (testing) ship
>> file /etc/mime.types with .pat asserted as being coreldraw. FWIW I was
>> able to override that with a ~/.mime.types file containing
>>
>> text/plain                                 asc txt text diff pot pat
>> image/x-coreldrawpattern                        patREMOVED
>>
>> But I dont like changing debian behavior, so I will in the future simply
>> use .diff, which seems the recommended extension.
>>
>> Anyway, the whole mimetypes thing is a terrible mess. Debian etch
>> contains no less than 20 packages installing a file named mime.types,
>> all in a different place! And the method is basically unsound anyway
>> since it is based on extension rather than contents, like 'file' is.
> 
> 
> 
> Would it not be significantly easier to use ".patch" as the extension 
> rather
> than ".pat", like most of the rest of the known world does? This should
> prevent bad mime typing implementations from mucking around.

No, .patch is not known in debian-sarge. They fixed that in etch but its 
now 2 months late...

> 
> Cian
> 
> 


-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list