mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavf/avs2dec.c: optimize code style
Signed-off-by: hwren <hwrenx@126.com>
This commit is contained in:
parent
de0a555898
commit
1e97fbb3b6
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
static int avs2_probe(const AVProbeData *p)
|
static int avs2_probe(const AVProbeData *p)
|
||||||
{
|
{
|
||||||
uint32_t code= -1, hds=0, pic=0, seq=0;
|
uint32_t code = -1, hds = 0, pic = 0, seq = 0;
|
||||||
uint8_t state=0;
|
uint8_t state = 0;
|
||||||
const uint8_t *ptr = p->buf, *end = p->buf + p->buf_size, *sqb=0;
|
const uint8_t *ptr = p->buf, *end = p->buf + p->buf_size, *sqb = 0;
|
||||||
if (AV_RB32(p->buf) != 0x1B0){
|
if (AV_RB32(p->buf) != 0x1B0){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user