History

avcodec/mpeg12dec: Deduplicate variables

This situation was created in merge commit 71d008ebe4f96974433eecfd3575bc82eb4b06a8.

Andreas Rheinhardt committed 1 year ago

Commit ee81e281 parent 94cfbf01 file · +1 −2Browse files

Unified · Split

libavcodec/mpeg12dec.c+1−2
@@ -2095,7 +2095,6 @@ static int mpeg_decode_a53_cc(AVCodecContext *avctx, · 2094 unmodified lines
20952095 static void mpeg_decode_user_data(AVCodecContext *avctx,
20962096 const uint8_t *p, int buf_size)
20972097 {
2098− Mpeg1Context *s = avctx->priv_data;
20992098 const uint8_t *buf_end = p + buf_size;
21002099 Mpeg1Context *s1 = avctx->priv_data;
21012100
@@ -2111,7 +2110,7 @@ static void mpeg_decode_user_data(AVCodecContext *avctx, · 9 unmodified lines
21112110 int i;
21122111 for(i=0; i<20; i++)
21132112 if (!memcmp(p+i, "\0TMPGEXS\0", 9)){
2114− s->tmpgexs= 1;
2113+ s1->tmpgexs = 1;
21152114 }
21162115 }
21172116 /* we parse the DTG active format information */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t