Browse Source

avcodec/pthread_frame: remove usage of AVCodecContext accessors

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.0
James Almer 7 years ago
parent
commit
21add0c228
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pthread_frame.c

+ 1
- 1
libavcodec/pthread_frame.c View File

@@ -246,7 +246,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
{ {
int err = 0; int err = 0;


if (dst != src && (for_user || !(av_codec_get_codec_descriptor(src)->props & AV_CODEC_PROP_INTRA_ONLY))) {
if (dst != src && (for_user || !(src->codec_descriptor->props & AV_CODEC_PROP_INTRA_ONLY))) {
dst->time_base = src->time_base; dst->time_base = src->time_base;
dst->framerate = src->framerate; dst->framerate = src->framerate;
dst->width = src->width; dst->width = src->width;


Loading…
Cancel
Save