summaryrefslogtreecommitdiffstats
path: root/doc/examples/vaapi_encode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2024-02-05 22:49:21 +0100
committerAndreas Rheinhardt <[email protected]>2024-02-09 08:16:25 +0100
commitca9586375828bbb4d8ef7eeeb3ad3b55116c6fd7 (patch)
tree9bf243d26fee207e2076972fa4e9b805a50315ec /doc/examples/vaapi_encode.c
parent38f234c06ee0d98c3568120338c1ec4078f8f9cc (diff)
avcodec/vc1dec: Don't call ff_get_format() twice
It is currently called once in the codecs' init function and once when (re)initializing the VC-1 decode context (which happens upon frame size changes as well as before decoding the first frame). The first one is unnecessary now that vc1_decode_frame() no longer requires avctx->hwaccel to be already set for hwaccel to work properly. Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'doc/examples/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions