diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-27 22:49:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 15:18:24 +0100 |
commit | d5e87df9029b5b14da95d48d5ffa63f58d2cc527 (patch) | |
tree | 3db5986b7645fadd2f680491decd5765faa63f5e /libavcodec/h261.c | |
parent | 725e2300af90eb005ecdde915ba59ee3a0dc5a7a (diff) |
avcodec/h261: Separate decode and encode contexts
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r-- | libavcodec/h261.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c index 1290c040cd..7dfaee7dc4 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -60,7 +60,7 @@ static void h261_loop_filter(uint8_t *src, int stride) void ff_h261_loop_filter(MpegEncContext *s) { - H261Context *h = (H261Context *)s; + H261Context *const h = s->private_ctx; const int linesize = s->linesize; const int uvlinesize = s->uvlinesize; uint8_t *dest_y = s->dest[0]; |