diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-10-08 07:41:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-17 23:44:17 +0100 |
commit | 5d8d9e032cafa88e99046478090dd5a629e3d51c (patch) | |
tree | 73804280cf585f54e54e6ae4a0105ea9ab174c90 /libavcodec/exr.c | |
parent | 56f25c11a9e88cbe2958d9dd1ebf5773c7f3e4a8 (diff) | |
download | ffmpeg-5d8d9e032cafa88e99046478090dd5a629e3d51c.tar.gz |
avformat/flacdec: Remove useless packet
flac_read_timestamp() applied av_init_packet() to a packet (which
initializes all fields of the packet except for data and size) and then
went on to use only the data and size fields. In other words: Said
packet can be removed and replaced by an uint8_t * and an int.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/exr.c')
0 files changed, 0 insertions, 0 deletions