diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-02 16:42:21 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-03 18:20:10 -0500 |
commit | 5d652e063bd3a180f9de8915e5137aa4f938846d (patch) | |
tree | 9f5f74a7260c1e8aaaa182f7edd05eb0ffcf438b /libavformat/img2.c | |
parent | dfc4fdedf8cfc56a505579b1f2c1c5efbce4b97e (diff) | |
download | ffmpeg-5d652e063bd3a180f9de8915e5137aa4f938846d.tar.gz |
wmaenc: check final frame size against output packet size
Currently we have an assert() that prevents the frame from being too large,
but it is more user-friendly to give an error message instead of aborting on
assert(). This condition is quite unlikely due to the minimum bit rate check
in encode_init(), but it is still worth having.
Diffstat (limited to 'libavformat/img2.c')
0 files changed, 0 insertions, 0 deletions