[FFmpeg-cvslog] lavf/avs2dec.c: optimize code style

hwren git at videolan.org
Mon Oct 5 19:03:54 EEST 2020


ffmpeg | branch: master | hwren <hwrenx at 126.com> | Mon Oct  5 23:56:10 2020 +0800| [1e97fbb3b67a9a105dc331c1989fa90f7dce76a4] | committer: hwren

lavf/avs2dec.c: optimize code style

Signed-off-by: hwren <hwrenx at 126.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e97fbb3b67a9a105dc331c1989fa90f7dce76a4
---

 libavformat/avs2dec.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/avs2dec.c b/libavformat/avs2dec.c
index f8337ea500..51908d2b63 100644
--- a/libavformat/avs2dec.c
+++ b/libavformat/avs2dec.c
@@ -33,9 +33,9 @@
 
 static int avs2_probe(const AVProbeData *p)
 {
-    uint32_t code= -1, hds=0, pic=0, seq=0;
-    uint8_t state=0;
-    const uint8_t *ptr = p->buf, *end = p->buf + p->buf_size, *sqb=0;
+    uint32_t code = -1, hds = 0, pic = 0, seq = 0;
+    uint8_t state = 0;
+    const uint8_t *ptr = p->buf, *end = p->buf + p->buf_size, *sqb = 0;
     if (AV_RB32(p->buf) != 0x1B0){
         return 0;
     }



More information about the ffmpeg-cvslog mailing list