aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/roqvideoenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-14 09:39:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-22 13:10:58 +0200
commit88dc77e243c486f50f60da981ac328d502791111 (patch)
treec8bb287d6020d5583ac833f2a47cccbe4c6283f9 /libavcodec/roqvideoenc.c
parentddd6274944a6bed1bf3bdb66893e52792e2f83f7 (diff)
downloadffmpeg-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/roqvideoenc.c')
0 files changed, 0 insertions, 0 deletions