summaryrefslogtreecommitdiff
path: root/libavcodec/tscc.c
diff options
context:
space:
mode:
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 0e97ee6d92..11d8b83087 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);