diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-30 07:32:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-01 09:50:05 +0200 |
commit | 901251d59bd287954f334bc153a0d71853debb92 (patch) | |
tree | 3ad8cc97e58d8412a1c622343f6d0495123153e3 /libavresample/audio_data.c | |
parent | ebd485db926889b5686cab440a6f514d6831209f (diff) | |
download | ffmpeg-901251d59bd287954f334bc153a0d71853debb92.tar.gz |
avdevice/lavfi: Don't set pkt->size to the value it already has
av_new_packet() already sets the size. And if the packet is not
allocated by av_new_packet() (which seems to be impossible atm), both
pkt->size as well as size are 0, so setting it again is unnecessary in
this scenario, too.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavresample/audio_data.c')
0 files changed, 0 insertions, 0 deletions