diff options
author | James Almer <jamrial@gmail.com> | 2022-12-26 08:30:41 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-12-27 10:40:00 -0300 |
commit | 64007595dcb5bb3c5f7bfa74d0b0f2e378f6007e (patch) | |
tree | 718027151970118787e4b64642702db0126e86af /libavdevice/dshow_filter.c | |
parent | 5b342d000580e54c5cb524daf83b8189f3f3dd18 (diff) | |
download | ffmpeg-64007595dcb5bb3c5f7bfa74d0b0f2e378f6007e.tar.gz |
avcodec/mjpegbdec: return the amount of bytes consumed when discarding frames
EAGAIN is not correct in this scenario. FFCodec.cb.decode() callback decoders
always return the amount of bytes consumed from the input packet (if any), and
report if a frame was generated by setting got_frame.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/dshow_filter.c')
0 files changed, 0 insertions, 0 deletions