aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_elbg.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-08-03 21:44:28 +0200
committerMarton Balint <cus@passwd.hu>2019-08-11 22:32:42 +0200
commit686755f02b0214155f3a044f263c2b60abdf9800 (patch)
tree1c0c3dd8c88dc9dd8e38fe956d83994a48a3f0a4 /libavfilter/vf_elbg.c
parentda8936969fe695a042282d5686e12227745d299a (diff)
downloadffmpeg-686755f02b0214155f3a044f263c2b60abdf9800.tar.gz
avcodec/encode: only allow undersized audio frames if they are the last
Otherwise the user might get a silence padded frame in the beginning or in the middle of the encoding. Some other bug uncovered this: ./ffmpeg -loglevel verbose -y -f data -i /dev/zero \ -filter_complex "nullsrc=s=60x60:d=10[v0];sine=d=10[a]" \ -map '[v0]' -c:v:0 rawvideo \ -map '[a]' -c:a:0 mp2 \ -f mpegts out.ts Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/vf_elbg.c')
0 files changed, 0 insertions, 0 deletions