[FFmpeg-cvslog] avcodec/pthread_frame: remove usage of AVCodecContext accessors
James Almer
git at videolan.org
Wed Nov 15 06:18:40 EET 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Nov 13 00:11:15 2017 -0300| [21add0c228e00b8ea89dd13082faa3dcb37912fb] | committer: James Almer
avcodec/pthread_frame: remove usage of AVCodecContext accessors
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21add0c228e00b8ea89dd13082faa3dcb37912fb
---
libavcodec/pthread_frame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index ddfd07d292..e6e6d1f599 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -246,7 +246,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
{
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->framerate = src->framerate;
dst->width = src->width;
More information about the ffmpeg-cvslog
mailing list