aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/startcode.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-17 11:34:55 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-22 17:10:44 +0200
commit748f2999eee82fd507da327fa57e47730f5effc1 (patch)
tree1b266e7726116a69ff88ab647008feb41a0cbd51 /libavcodec/startcode.c
parent172f901e3555f222852723a42a7aa93774069a48 (diff)
downloadffmpeg-748f2999eee82fd507da327fa57e47730f5effc1.tar.gz
fftools/ffmpeg_dec: restructure audio/video decoding loop
It currently emulates the long-removed avcodec_decode_audio4/avcodec_decode_video2 APIs, which obfuscates the actual decoding flow. Restructure the decoding calls so that they naturally follow the new avcodec_send_packet()/avcodec_receive_frame() design. This is not only significantly easier to read, but also shorter.
Diffstat (limited to 'libavcodec/startcode.c')
0 files changed, 0 insertions, 0 deletions