- Oct 27, 2015
-
-
Hendrik Leppkes authored
-
- Sep 06, 2015
-
-
Clément Bœsch authored
This finalizes the quick cleanup of a753e6c9.
-
- Sep 05, 2015
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jun 15, 2015
-
-
Andreas Cadhalpun authored
This is more robust. And only check if there is actually a frame returned. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- Feb 10, 2015
-
-
Andreas Cadhalpun authored
This is necessary, because avcodec_decode_video2 can change width, height and/or pixel format of the AVCodecContext. Since video_dst_data and video_dst_linesize are not updated by calling av_image_alloc again, av_image_copy[_plane] asserts, because the destination buffer is too small. In this case, creating a useable rawvideo is not possible anyway, since it has fixed width/height/pix_fmt. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Jan 31, 2015
-
-
Andreas Cadhalpun authored
Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Mar 07, 2014
-
-
compn authored
-
- Feb 17, 2014
-
-
Michael Niedermayer authored
This makes the examples page less cluttered Reviewed-by:
Clément Bœsch <u@pkh.me> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Dec 13, 2013
-
-
Clément Bœsch authored
-
Even Wiik Thomassen authored
The open_codec_context function, when it fails to find a codec, now return AVERROR(EINVAL) to signal an error. Before it would return the stream index, which was always >= 0, and continue as if a codec was found. This change make it fail faster, instead of repeated failed tries to decode frames with no codec. Signed-off-by:
Even Wiik Thomassen <e.thomassen@sportradar.com> Signed-off-by:
Stefano Sabatini <stefasab@gmail.com>
-
- Nov 21, 2013
-
-
Stefano Sabatini authored
avcodec_close() does nothing in case the argument is NULL. Simplify.
-
- Nov 04, 2013
-
-
Clément Bœsch authored
That example shows how the decoding process works, not only the demuxing.
-
Clément Bœsch authored
-
- Oct 30, 2013
-
-
Clément Bœsch authored
Fix infinite loop at flushing.
-
- Jul 19, 2013
-
-
wm4 authored
Adjust the code so that a working ffplay command is printed in the planar audio case.
-
wm4 authored
There is no reason why this should copy the audio data in a very complicated way. Also, strictly write the first plane, instead of writing the whole buffer. This is more helpful in context of the example. This way a user can clearly confirm that it works by playing the written data as raw audio.
-
wm4 authored
This assumes one audio packet is decoded one time. This is not true: packets can be partially decoded. Then you have to "adjust" the packet and pass the undecoded part of the packet to the decode function again.
-
- Mar 01, 2013
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Jan 15, 2013
-
-
Angelo Haller authored
Fix leak.
-
- Jan 14, 2013
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Nov 06, 2012
-
-
Stefano Sabatini authored
-
Stefano Sabatini authored
s/video/audio/ in a log message.
-
Stefano Sabatini authored
Implement more logical code flow.
-
- Oct 26, 2012
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Sep 11, 2012
-
-
Stefano Sabatini authored
-
- Sep 02, 2012
-
-
Stefano Sabatini authored
-