aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encode_audio.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-17 13:13:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-19 04:56:32 +0200
commita42695c07244991ceabf9996d086dda3fcc28fc1 (patch)
tree68a3cb767856b5060f5ace5fb0f46910f7487680 /doc/examples/encode_audio.c
parent38cdd27e9b36183a74c19859a8092aca6e82d712 (diff)
downloadffmpeg-a42695c07244991ceabf9996d086dda3fcc28fc1.tar.gz
avcodec/movtextdec: Simplify checking for invalid extradata
Every font entry occupies at least three bytes, so checking early whether there is that much data available is a low-effort way to exclude invalid extradata. Doing so leads to an overall simplification. Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/examples/encode_audio.c')
0 files changed, 0 insertions, 0 deletions