diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 13:12:53 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 08:51:26 +0100 |
commit | da6506c607eda585ba4b15430cf3c9a2ce09c3a9 (patch) | |
tree | fb2436a79ef99b8f7d8b50f015d5a86d0b9d1ae3 /libavcodec/rawdec.c | |
parent | 38ecc3702dabbea09230f6d6333f59e74f5d1c12 (diff) | |
download | ffmpeg-da6506c607eda585ba4b15430cf3c9a2ce09c3a9.tar.gz |
lavc: move AVCodecContext.pkt to AVCodecInternal
It's a private field, not meant to be accessed from outside lavc.
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 24d06f3087..a8227c7ae8 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -25,6 +25,7 @@ */ #include "avcodec.h" +#include "internal.h" #include "raw.h" #include "libavutil/buffer.h" #include "libavutil/common.h" @@ -150,7 +151,7 @@ static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame, frame->pict_type = AV_PICTURE_TYPE_I; frame->key_frame = 1; frame->reordered_opaque = avctx->reordered_opaque; - frame->pkt_pts = avctx->pkt->pts; + frame->pkt_pts = avctx->internal->pkt->pts; if (buf_size < context->frame_size - (avctx->pix_fmt == AV_PIX_FMT_PAL8 ? AVPALETTE_SIZE : 0)) |