Commit 71ab6d97 authored by michael's avatar michael

Set reordered_opaque in default_reget_buffer() with internal buffers.

From ffmbc0.3, this one appears to be a bugfix.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20862 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 178247e7
......@@ -367,8 +367,10 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){
}
/* 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment