19 lines
807 B
Diff
19 lines
807 B
Diff
diff -ur a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp
|
|
--- a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-02-26 19:11:08.000000000 +0100
|
|
+++ b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-04-10 23:59:17.170781787 +0200
|
|
@@ -658,13 +658,13 @@
|
|
{
|
|
if ( _needsParsing )
|
|
{
|
|
- return av_parser_parse(_parser, _audioCodecCtx,
|
|
+ return av_parser_parse2(_parser, _audioCodecCtx,
|
|
// as of 2008-10-28 SVN, ffmpeg doesn't
|
|
// accept a pointer to pointer to const..
|
|
const_cast<boost::uint8_t**>(outFrame),
|
|
outFrameSize,
|
|
input, inputSize,
|
|
- 0, 0); // pts & dts
|
|
+ 0, 0, AV_NOPTS_VALUE); // pts & dts
|
|
}
|
|
else
|
|
{
|