[FFmpeg-devel] [PATCH 1/4] wmaprodec: fix return value for too small packets.

Nicolas George nicolas.george at normalesup.org
Tue Jul 31 19:04:40 CEST 2012

Le quartidi 14 thermidor, an CCXX, Michael Niedermayer a écrit :
> rethinking & rereading the code i withdraw this "LGTM", i dont think
> this should be an error condition

What would be the correct behaviour? Ignore the packet (return buf_size)?
Since decode2 takes a packet as argument, I suppose decoders are entitled to
assuming whole packets are submitted, aren't they?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120731/0e9be8e9/attachment.asc>

More information about the ffmpeg-devel mailing list