diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
commit | 53db1cae1c2d555d207563e0197809faf23b3dcc (patch) | |
tree | 1d4141bca722343f1a1d3fb004f52a5269865787 /libavcodec/utils.c | |
parent | 5da42be1921604a97e6180f242c78c484a179314 (diff) | |
download | ffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.zip ffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz |
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index df2a1e1..df5aebb 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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++; |