summaryrefslogtreecommitdiff
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index bb6467b331..fa945858c2 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -237,11 +237,6 @@ static int decode_frame(AVCodecContext *avctx,
uint8_t* outdata;
int delta;
- /* special case for last picture */
- if (buf_size == 0) {
- return 0;
- }
-
if(p->data[0])
avctx->release_buffer(avctx, p);