avcodec/pthread_frame: remove unused variable
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 17:36:29 +0000 (19:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 17:36:29 +0000 (19:36 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pthread_frame.c

index 30788e9..ce7119e 100644 (file)
@@ -316,7 +316,6 @@ static int submit_packet(PerThreadContext *p, AVPacket *avpkt)
     FrameThreadContext *fctx = p->parent;
     PerThreadContext *prev_thread = fctx->prev_thread;
     const AVCodec *codec = p->avctx->codec;
-    int ret;
 
     if (!avpkt->size && !(codec->capabilities & CODEC_CAP_DELAY)) return 0;