]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cavs_parser.c
Show profile in avcodec_string().
[ffmpeg] / libavcodec / cavs_parser.c
index 6604b1bbcccc967d30ef7b0562537e46d2802ead..8e9c35b7a79e2b644415816d86cef85d166ce49f 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file libavcodec/cavs_parser.c
+ * @file
  * Chinese AVS video (AVS1-P2, JiZhun profile) parser
  * @author Stefan Gehrer <stefan.gehrer@gmx.de>
  */
@@ -60,7 +60,7 @@ static int cavs_find_frame_end(ParseContext *pc, const uint8_t *buf,
         for(; i<buf_size; i++){
             state= (state<<8) | buf[i];
             if((state&0xFFFFFF00) == 0x100){
-                if(state < SLICE_MIN_START_CODE || state > SLICE_MAX_START_CODE){
+                if(state > SLICE_MAX_START_CODE){
                     pc->frame_start_found=0;
                     pc->state=-1;
                     return i-3;