[FFmpeg-devel] [PATCH] lavc: Fix ticket 6024, truncated mode decoding
Michael Niedermayer
michael at niedermayer.cc
Sat Dec 17 19:44:59 EET 2016
On Thu, Dec 15, 2016 at 10:19:23AM -0700, pkoshevoy at gmail.com wrote:
> From: Pavel Koshevoy <pkoshevoy at gmail.com>
>
> The assumption that avcodec_send_packet makes regarding decoders
> consuming the entire packet is not true if the codec supports
> truncated decoding mode and the truncated flag is turned on.
>
> Steps to reproduce:
> ./ffmpeg_g -flags truncated \
> -i "http://samples.ffmpeg.org/MPEG2/test-ebu-422.40000.pakets.ts" \
> -c:v ffv1 -c:a copy -y /tmp/truncated.nut
> ---
> libavcodec/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied
thx
PS: do you want to add a fate test for this ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161217/5dc3660e/attachment.sig>
More information about the ffmpeg-devel
mailing list