data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5da42be192
commit
53db1cae1c
30 changed files with 2 additions and 57 deletions
|
@ -488,6 +488,7 @@ int avcodec_decode_video(AVCodecContext *avctx, AVFrame *picture,
|
|||
{
|
||||
int ret;
|
||||
|
||||
*got_picture_ptr= 0;
|
||||
ret = avctx->codec->decode(avctx, picture, got_picture_ptr,
|
||||
buf, buf_size);
|
||||
|
||||
|
@ -508,6 +509,7 @@ int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,
|
|||
{
|
||||
int ret;
|
||||
|
||||
*frame_size_ptr= 0;
|
||||
ret = avctx->codec->decode(avctx, samples, frame_size_ptr,
|
||||
buf, buf_size);
|
||||
avctx->frame_number++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue