Merge remote-tracking branch 'qatar/master'
* qatar/master: lavc: always align height by 32 pixel raw: add 10bit YUV definitions nut: support 10bit YUV mpegvideo_enc: separate declarations and statements oma: make header compile standalone vp3: Reorder some functions to fix VP3 build with Theora disabled. build: fix standalone compilation of ADX encoder build: fix standalone compilation of ADPCM decoders build: fix standalone compilation of mpc7/mpc8 decoders 4xm: Use bytestream2 functions to prevent overreads bytestream: add a new set of bytestream functions with overread checking mpegts: Suppress invalid timebase warnings on DMB streams. mpegts: Fix typo in handling sections in the PMT. vc1dec: Use the right pointer type for the tmp pointer Conflicts: libavcodec/4xm.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/vp3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1213,10 +1213,11 @@ no_output_pic:
|
||||
if (s->reordered_input_picture[0]->f.type == FF_BUFFER_TYPE_SHARED || s->avctx->rc_buffer_size) {
|
||||
// input is a shared pix, so we can't modifiy it -> alloc a new one & ensure that the shared one is reuseable
|
||||
|
||||
Picture *pic;
|
||||
int i= ff_find_unused_picture(s, 0);
|
||||
if (i < 0)
|
||||
return i;
|
||||
Picture *pic= &s->picture[i];
|
||||
pic = &s->picture[i];
|
||||
|
||||
pic->f.reference = s->reordered_input_picture[0]->f.reference;
|
||||
if(ff_alloc_picture(s, pic, 0) < 0){
|
||||
|
||||
Reference in New Issue
Block a user