[FFmpeg-devel] [PATCH 2/2] MxPEG decoder
Anatoly Nenashev
anatoly.nenashev
Thu Nov 4 15:43:51 CET 2010
On 04.11.2010 03:02, Michael Niedermayer wrote:
> On Wed, Nov 03, 2010 at 11:29:55PM +0300, Anatoly Nenashev wrote:
>
>
>> + if (mxg->state == 0xffd9) {
>> + found_frame_end = mxg->current_pos;
>> + } else if (mxg->state == 0xffd8) {
>> + if (mxg->vop_found) {
>> + //emulating frame end
>> + url_fseek(s->pb, -2, SEEK_CUR);
>> + mxg->current_pos -= 2;
>> + found_frame_end = mxg->current_pos;
>> + } else {
>> + mxg->vop_found = 1;
>> + }
>> + } else if (mxg->state == 0xfffe) {
>>
> these numeric things need comments that say what each is
>
>
Comments are added. See attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mxg_v10.patch
Type: text/x-patch
Size: 8211 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101104/0cea5d98/attachment.bin>
More information about the ffmpeg-devel
mailing list