Mercurial > libavcodec.hg
changeset 10684:7e316791ac7b libavcodec
Set reordered_opaque in default_reget_buffer() with internal buffers.
From ffmbc0.3, this one appears to be a bugfix.
author | michael |
---|---|
date | Mon, 14 Dec 2009 11:42:17 +0000 |
parents | e5fac8ac71f6 |
children | 60ca4112b5f4 |
files | utils.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Mon Dec 14 11:34:46 2009 +0000 +++ b/utils.c Mon Dec 14 11:42:17 2009 +0000 @@ -367,8 +367,10 @@ } /* If internal buffer type return the same buffer */ - if(pic->type == FF_BUFFER_TYPE_INTERNAL) + if(pic->type == FF_BUFFER_TYPE_INTERNAL) { + pic->reordered_opaque= s->reordered_opaque; return 0; + } /* * Not internal type and reget_buffer not overridden, emulate cr buffer