Lines 658-670
Link Here
|
658 |
{ |
658 |
{ |
659 |
if ( _needsParsing ) |
659 |
if ( _needsParsing ) |
660 |
{ |
660 |
{ |
661 |
return av_parser_parse(_parser, _audioCodecCtx, |
661 |
return av_parser_parse2(_parser, _audioCodecCtx, |
662 |
// as of 2008-10-28 SVN, ffmpeg doesn't |
662 |
// as of 2008-10-28 SVN, ffmpeg doesn't |
663 |
// accept a pointer to pointer to const.. |
663 |
// accept a pointer to pointer to const.. |
664 |
const_cast<boost::uint8_t**>(outFrame), |
664 |
const_cast<boost::uint8_t**>(outFrame), |
665 |
outFrameSize, |
665 |
outFrameSize, |
666 |
input, inputSize, |
666 |
input, inputSize, |
667 |
0, 0); // pts & dts |
667 |
0, 0, AV_NOPTS_VALUE); // pts & dts |
668 |
} |
668 |
} |
669 |
else |
669 |
else |
670 |
{ |
670 |
{ |