OSDN Git Service

ffmenc: replace if/abort with assert()
authorMans Rullgard <mans@mansr.com>
Wed, 8 Aug 2012 21:57:12 +0000 (22:57 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 9 Aug 2012 19:52:39 +0000 (20:52 +0100)
commit6d3783d16001810885603b39857d48bc84744ea2
treee305cfd949752080b8949b53bfef05fdb046a866
parent1c4ab37c38e4ede6bbdf95221ad6cbf1bbcb7e9d
ffmenc: replace if/abort with assert()

The condition is trivially true, but keeping the assert() is
sensible to avoid FFM_HEADER_SIZE ever getting out of sync with
the actual code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavformat/ffmenc.c