[FFmpeg-devel] 4:2:0 DV25 file wrongly identified as 4:1:1

Niobos niobos
Wed Sep 22 20:03:51 CEST 2010


On 2010-09-22 16:53, Carl Eugen Hoyos wrote:
> Niobos <niobos <at> dest-unreach.be> writes:
> 
>> diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c
>> index 7232baf..9eaa22f 100644
>> --- a/libavcodec/dvdata.c
>> +++ b/libavcodec/dvdata.c
>> @@ -255,7 +255,7 @@ const DVprofile* ff_dv_frame_profile(const DVprofile *sys,
>>     int stype = frame[80*5 + 48 + 3] & 0x1f;
>>
>>     /* 576i50 25Mbps 4:1:1 is a special case */
>> -   if (dsf == 1 && stype == 0 && frame[5] & 0x07) {
>> +   if (dsf == 1 && stype == 0 && frame[4] & 0x07 /* the APT field */) {
>>         return &dv_profiles[2];
>>     }
> 
> Please upload a sample to ftp://ffmpeg.org/MPlayer/incoming/issue2211
> (write-only, you have to create the directory), I will then apply the patch.
> (And please consider testing your sample before uploading.)
I already did:
On 2010-09-02 13:56, Niobos wrote on roundup:
> I uploaded a 1 second clip (914KiB). Also, I suppose you meant
> directory issue2211 instead of issue221.

But since the FTP is write-only, I can't verify that this was
successful. Can you please confirm either that my previous upload was
successful, or confirm that I need to re-upload it. Thanks.

Niobos




More information about the ffmpeg-devel mailing list