[FFmpeg-devel] [PATCH] H.264/AVCHD interlaced fixes

Ivan Schreter schreter
Thu Feb 19 23:10:07 CET 2009


Michael Niedermayer wrote:
> On Thu, Feb 19, 2009 at 05:43:14PM +0100, Ivan Schreter wrote:
>   
> [...]
>
>   
>> -/**
>> - * identifies the exact end of the bitstream
>> - * @return the length of the trailing, or 0 if damaged
>> - */
>> -static int decode_rbsp_trailing(H264Context *h, const uint8_t *src){
>> -    int v= *src;
>> -    int r;
>> -
>> -    tprintf(h->s.avctx, "rbsp trailing %X\n", v);
>> -
>> -    for(r=1; r<9; r++){
>> -        if(v&1) return r;
>> -        v>>=1;
>>     
>
> moving code must be in a seperate patch, or actually cosmetics and functional
> changes should be in seperate patches.
>
>   
I've split it to two patches. OK now?

Regards,

Ivan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_move_trailing.patch
Type: text/x-patch
Size: 1208 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090219/38bc2b97/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_decodenal.patch
Type: text/x-patch
Size: 3015 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090219/38bc2b97/attachment-0001.bin>



More information about the ffmpeg-devel mailing list