mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/333/head
parent
56f25c11a9
commit
5d8d9e032c
1 changed files with 6 additions and 5 deletions
Loading…
Reference in new issue