diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-14 09:39:17 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-22 13:10:58 +0200 |
commit | 88dc77e243c486f50f60da981ac328d502791111 (patch) | |
tree | c8bb287d6020d5583ac833f2a47cccbe4c6283f9 /libavcodec/mediacodec_wrapper.h | |
parent | ddd6274944a6bed1bf3bdb66893e52792e2f83f7 (diff) | |
download | ffmpeg-88dc77e243c486f50f60da981ac328d502791111.tar.gz |
avformat/mov: Read attached pics directly into st->attached_pic
Given that av_get_packet returns a blank packet on error, the only
difference to the current approach (that uses intermediate AVPackets on
the stack) is that st->attached_pic will be properly initialized on error
(i.e. the timestamps are AV_NOPTS_VALUE) whereas right now st->attached_pic
is only zeroed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mediacodec_wrapper.h')
0 files changed, 0 insertions, 0 deletions