diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-07-29 21:56:55 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-07-29 22:25:10 +0100 |
commit | 276b21a586900b4692efbb99e4789e05d927708e (patch) | |
tree | 8701407fcf9cf4241a9e78ba6be39df5a3c7fb4c /libswresample/x86/audio_convert.asm | |
parent | 0e66e1b61ea2fd8fd85ebe3b86ff48dad78233dd (diff) | |
download | ffmpeg-276b21a586900b4692efbb99e4789e05d927708e.tar.gz |
cbs_mpeg2: Rearrange start code search
1. Currently, cbs_mpeg2_split_fragment uses essentially three variables
to hold the start code values found by avpriv_find_start_code. By
rearranging the code, one of them can be omitted.
2. The return value of avpriv_find_start_code points to the byte after
the byte containing the start code identifier (or to the byte after the
last byte of the fragment's data if no start code was found), but
cbs_mpeg2_split_fragment needs to work with the pointer to the byte
containing the start code identifier; it already did this, but in a
clumsy way. This has been changed.
3. Also use the correct type for the variable holding the
CodedBitstreamUnitType.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libswresample/x86/audio_convert.asm')
0 files changed, 0 insertions, 0 deletions