summaryrefslogtreecommitdiffstats
path: root/libavcodec/tscc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-23 18:09:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-23 18:09:06 +0000
commit934982c4ace1a3d5d627b518782ed092a456c49e (patch)
tree2710f7ff4b0238136300d02da7baf234ed48cc01 /libavcodec/tscc.c
parent884182b383ed8b70a67634dc7f91395c402b58d7 (diff)
downloadffmpeg-streaming-934982c4ace1a3d5d627b518782ed092a456c49e.zip
ffmpeg-streaming-934982c4ace1a3d5d627b518782ed092a456c49e.tar.gz
avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r--libavcodec/tscc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index 0e97ee6..11d8b83 100644
--- a/libavcodec/tscc.c
+++ b/libavcodec/tscc.c
@@ -155,10 +155,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
#endif
int len = buf_size;
- /* no supplementary picture */
- if (buf_size == 0)
- return 0;
-
if(c->pic.data[0])
avctx->release_buffer(avctx, &c->pic);
OpenPOWER on IntegriCloud