[Ffmpeg-devel] mpeg4 avi, corrupted frames when CODEC_FLAG_TRUNCATED is set

Colin Ward lists
Sun Oct 23 07:50:18 CEST 2005

Stefan Lucke wrote:


>>>   And I take it from your use of the future tense that this is not done
>>>yet?  :-)
>>To my simple opinion this should be taken as a hint (clearing CODEC_FLAG_TRUNCATED).



>>I'll do some tests when I'm back home.
> Done. The internal framer seems to be ok. But the number of consumed
> byte is not. I changed the test sequence of get_consumed_bytes()
> to first check CODEC_FLAG_TRUNCATED and than s->divx_packed.
> By that this stream plays fine with and without CODEC_FLAG_TRUNCATED.
> See attached diff.

   Ok, I will look into this when I get home myself.  Thanks for the help!

[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2    ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne      ]
[Assembly Language: The most fun you can have with your clothes on! ]

More information about the ffmpeg-devel mailing list