summaryrefslogtreecommitdiffstats
path: root/doc/examples/muxing.c
diff options
context:
space:
mode:
authorRonald S. Bultje <[email protected]>2012-02-17 16:27:36 -0800
committerRonald S. Bultje <[email protected]>2012-02-18 08:41:45 -0800
commit74699ac8c8b562e9f8d26e21482b89585365774a (patch)
treed057034abf713baec468699a581974b7c549675e /doc/examples/muxing.c
parentc7e8639c70ec25be2c0afdcea61d992de5f1928e (diff)
mjpegb: don't return 0 at the end of frame decoding.
Return 0 indicates "please return the same data again", i.e. it causes an infinite loop. Instead, return that we consumed the buffer if we finished decoding succesfully, or return an error if an error occurred. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
Diffstat (limited to 'doc/examples/muxing.c')
0 files changed, 0 insertions, 0 deletions