indeo2: remove unnecessary release_buffer() call
This was preventing reget_buffer() to return a buffer with the same data, which was resulting in playback artifacts. Fix trac issue #116.
This commit is contained in:
parent
10aa5a6c42
commit
fd37eac495
1 changed files with 0 additions and 3 deletions
|
|
@ -146,9 +146,6 @@ static int ir2_decode_frame(AVCodecContext *avctx,
|
|||
AVFrame * const p= (AVFrame*)&s->picture;
|
||||
int start;
|
||||
|
||||
if(p->data[0])
|
||||
avctx->release_buffer(avctx, p);
|
||||
|
||||
p->reference = 1;
|
||||
p->buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
|
||||
if (avctx->reget_buffer(avctx, p)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue