aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/vaapi_transcode.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>2021-02-27 07:20:58 +0100
commitb4a96efdda22e3f0e0e4f1e3fcfe556d3b4639fb (patch)
tree00229ce446dcccc35fb312325764d85150388c9f /doc/examples/vaapi_transcode.c
parent59b8634411ba2a6c7700968b3af5b400b14f0f41 (diff)
downloadffmpeg-b4a96efdda22e3f0e0e4f1e3fcfe556d3b4639fb.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> (cherry picked from commit a42695c07244991ceabf9996d086dda3fcc28fc1)
Diffstat (limited to 'doc/examples/vaapi_transcode.c')
0 files changed, 0 insertions, 0 deletions