diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-15 03:44:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-19 07:45:48 +0100 |
commit | 4294f64d578e14b3f65a6a2cd064461cb74bb122 (patch) | |
tree | 7d0000f25cf6d7ab84d5e37699d7a0bbc393bad1 /libavdevice/dshow.c | |
parent | 54987a37daccbeec28d3f2ec58ff4d5656acd9b1 (diff) | |
download | ffmpeg-4294f64d578e14b3f65a6a2cd064461cb74bb122.tar.gz |
avformat/mpegenc: Avoid adding invalid packet to queue
Do this by moving the check before the allocation.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavdevice/dshow.c')
0 files changed, 0 insertions, 0 deletions