]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vc1_parser.c
drop LLS1, rename LLS2 to LLS
[ffmpeg] / libavcodec / vc1_parser.c
index 0021febaf56bd569a6aa173b7e28d0cfa84b248a..8d058ad10d2a5f25c39c0d5d3b3f833896fce10c 100644 (file)
@@ -173,7 +173,7 @@ static int vc1_parse(AVCodecParserContext *s,
         if (unesc_index >= UNESCAPED_THRESHOLD && !start_code_found) {
             while (i < buf_size) {
                 if (search_state == NO_MATCH) {
-                    i += vpc->v.vc1dsp.vc1_find_start_code_candidate(buf + i, buf_size - i);
+                    i += vpc->v.vc1dsp.startcode_find_candidate(buf + i, buf_size - i);
                     if (i < buf_size) {
                         search_state = ONE_ZERO;
                     }
@@ -228,8 +228,6 @@ static int vc1_parse(AVCodecParserContext *s,
         }
     }
 
-    vpc->v.first_pic_header_flag = 1;
-
     /* If we return with a valid pointer to a combined frame buffer
      * then on the next call then we'll have been unhelpfully rewound
      * by up to 4 bytes (depending upon whether the start code