]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263_parser.c
cosmetics: use a better function name than uncouple_channels()
[ffmpeg] / libavcodec / h263_parser.c
index 53a26c05cd690061132e4e19fb18a2c5c8680f77..bfef3b5bbdc31a4bd895ff322cdf312203099f5f 100644 (file)
@@ -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;
 }