]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263_parser.c
Fix dependency: generated table is needed to create the mpegaudiodec.o file, not...
[ffmpeg] / libavcodec / h263_parser.c
index 7031ad901946318a8004eb0cf00f289da2da7941..4a279d90528a63599d659763f7c85ee3b3a09cdb 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file h263_parser.c
+ * @file libavcodec/h263_parser.c
  * H.263 parser
  */
 
@@ -63,7 +63,7 @@ int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size){
 
 static int h263_parse(AVCodecParserContext *s,
                            AVCodecContext *avctx,
-                           uint8_t **poutbuf, int *poutbuf_size,
+                           const uint8_t **poutbuf, int *poutbuf_size,
                            const uint8_t *buf, int buf_size)
 {
     ParseContext *pc = s->priv_data;
@@ -71,13 +71,13 @@ static int h263_parse(AVCodecParserContext *s,
 
     next= ff_h263_find_frame_end(pc, buf, buf_size);
 
-    if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) {
+    if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
         *poutbuf = NULL;
         *poutbuf_size = 0;
         return buf_size;
     }
 
-    *poutbuf = (uint8_t *)buf;
+    *poutbuf = buf;
     *poutbuf_size = buf_size;
     return next;
 }