]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/parser.h
mpegvideo: fix size of array
[ffmpeg] / libavcodec / parser.h
index 024b487bac82aa4d2b49629052e0831261eddd5c..ea1cae28a2fac40a920c175e3414e807c68fcfd8 100644 (file)
@@ -37,10 +37,13 @@ typedef struct ParseContext{
     uint64_t state64;           ///< contains the last 8 bytes in MSB order
 } ParseContext;
 
-struct MpegEncContext;
-
 #define END_NOT_FOUND (-100)
 
+/**
+ * Combine the (truncated) bitstream to a complete frame.
+ * @return -1 if no complete frame could be created,
+ *         AVERROR(ENOMEM) if there was a memory allocation error
+ */
 int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size);
 int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf,
                         int buf_size);