aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING.LGPLv3
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-24 20:36:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-25 19:07:31 +0100
commite944ab796d9624b269424c5a6e2e82cf393b2884 (patch)
tree09723b4e0a6223081f032bc1f8f89af2531ad8d3 /COPYING.LGPLv3
parentc4fcfa47df24bbef354ae3ae3e1fe839c95519fb (diff)
downloadffmpeg-e944ab796d9624b269424c5a6e2e82cf393b2884.tar.gz
avcodec/h264dec: Move ERContext to H264Context
Since 7be2d2a70cd20d88fd826a83f87037d14681a579 only one context is used. Moving it to H264Context from H264SliceContext is natural. One could access the ERContext from H264SliceContext via H264SliceContext.h264->er; yet H264SliceContext.h264 should naturally be const-qualified, because slice threads should not modify the main context. The ERContext is an exception to this, as ff_er_add_slice() is intended to be called simultaneously by multiple threads. And for this one needs a pointer whose pointed-to-type is not const-qualified. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'COPYING.LGPLv3')
0 files changed, 0 insertions, 0 deletions