mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-26 15:15:54 +00:00
Revert "lavc: Init AVFrame->opaque to AVCodecContext.opaque in avcodec_default_get_buffer()"
This commit causes problems for vlc, see https://trac.videolan.org/vlc/ticket/5518 This reverts commit 475fb67d0b391ad1e8e3e8e3d65d7e6892e17e7a.
This commit is contained in:
parent
4d7c71c364
commit
33feba3abf
@ -397,7 +397,6 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){
|
||||
pic->width = s->width;
|
||||
pic->height = s->height;
|
||||
pic->format = s->pix_fmt;
|
||||
pic->opaque = s->opaque;
|
||||
|
||||
if(s->debug&FF_DEBUG_BUFFERS)
|
||||
av_log(s, AV_LOG_DEBUG, "default_get_buffer called on pic %p, %d buffers used\n", pic, s->internal_buffer_count);
|
||||
|
Loading…
x
Reference in New Issue
Block a user