aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacpsdsp.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-05 22:15:31 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-09 08:16:25 +0100
commit38f234c06ee0d98c3568120338c1ec4078f8f9cc (patch)
treeae049b10478fc28c18f3db24669f47ae82f21e3b /libavcodec/aacpsdsp.h
parent687a287e140e87317986ad9445c3dfc2fcd0d342 (diff)
downloadffmpeg-38f234c06ee0d98c3568120338c1ec4078f8f9cc.tar.gz
avcodec/vc1dec: Set pointers for hwaccel even without hwaccel
VC-1 uses a 0x03 escaping scheme like H.26x and our decoder unescapes data for this purpose, but hardware accelerations just want the data as-is and therefore get fed the original data. The pointers to the actual data are only setcorrectly if avctx->hwaccel is set (after all, they are only used in this case). There are two problems with this: The first is that the branch is pointless; the second is that it is harmful, because a hardware acceleration may be added after the packet has been parsed (in case there is a reconfiguration e.g. due to frame size changes) in which case decoding the first few frames won't work. So delete these branches. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aacpsdsp.h')
0 files changed, 0 insertions, 0 deletions