diff options
author | James Almer <jamrial@gmail.com> | 2021-05-01 23:28:18 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-07 09:27:21 -0300 |
commit | b9c5fdf6027010d15ee90a43aa023e45a5189097 (patch) | |
tree | d51cea73b330856ca9245aed2e1cb0c23a58bc46 /libavformat/img2dec.c | |
parent | fab2ed47042d4cc2a4cd69bb97738024c01300c7 (diff) | |
download | ffmpeg-b9c5fdf6027010d15ee90a43aa023e45a5189097.tar.gz |
avformat: move AVStream.{parser,need_parsing} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r-- | libavformat/img2dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index d7a7cdaa16..aaf2ac362c 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -209,7 +209,7 @@ int ff_img_read_header(AVFormatContext *s1) s->is_pipe = 0; else { s->is_pipe = 1; - st->need_parsing = AVSTREAM_PARSE_FULL; + st->internal->need_parsing = AVSTREAM_PARSE_FULL; } if (s->ts_from_file == 2) { @@ -482,7 +482,7 @@ int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt) return AVERROR_EOF; if (s->frame_size > 0) { size[0] = s->frame_size; - } else if (!s1->streams[0]->parser) { + } else if (!s1->streams[0]->internal->parser) { size[0] = avio_size(s1->pb); } else { size[0] = 4096; |