Merge remote-tracking branch 'qatar/master'
* qatar/master: indeo3: check per-plane data buffer against input buffer bounds. avconv: Handle audio sync for non-S16 sample formats. pthread: don't increment index on zero-sized packets. Conflicts: libavcodec/indeo3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -494,6 +494,7 @@ static int submit_packet(PerThreadContext *p, AVPacket *avpkt)
|
||||
}
|
||||
|
||||
fctx->prev_thread = p;
|
||||
fctx->next_decoding++;
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -516,8 +517,6 @@ int ff_thread_decode_frame(AVCodecContext *avctx,
|
||||
err = submit_packet(p, avpkt);
|
||||
if (err) return err;
|
||||
|
||||
fctx->next_decoding++;
|
||||
|
||||
/*
|
||||
* If we're still receiving the initial packets, don't return a frame.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user