[FFmpeg-devel] Patch: remove the NULL avcodec_parse_frame()

avcoder ffmpeg
Wed Feb 18 13:10:22 CET 2009


Dear:
It seems that avcodec_parse_frame() has gone for a long long time.

Index: avcodec.h
===================================================================
--- avcodec.h ??? 17428?
+++ avcodec.h ??????
@@ -515,7 +515,6 @@
  * direct rendering method 1
  */
 #define CODEC_CAP_DR1             0x0002
-/* If 'parse_only' field is true, then avcodec_parse_frame() can be used.
*/
 #define CODEC_CAP_PARSE_ONLY      0x0004
 #define CODEC_CAP_TRUNCATED       0x0008
 /* Codec can export data for HW decoding (XvMC). */
@@ -1232,8 +1231,7 @@
      */
     int block_align;

-    int parse_only; /* - decoding only: If true, only parsing is done
-                       (function avcodec_parse_frame()). The frame
+    int parse_only; /* - decoding only: If true, only parsing is done. The
frame
                        data is returned. Only MPEG codecs support this now.
*/

     /**
@@ -2901,9 +2899,6 @@
 int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
                             int *got_sub_ptr,
                             const uint8_t *buf, int buf_size);
-int avcodec_parse_frame(AVCodecContext *avctx, uint8_t **pdata,
-                        int *data_size_ptr,
-                        uint8_t *buf, int buf_size);

 /**
  * Encodes an audio frame from \p samples into \p buf.


-- 
----------------------------------------------
Inspired by http://nextchat.mobi
Your potential. Our passion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avcodec.diff
Type: application/octet-stream
Size: 1255 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090218/043ff315/attachment.obj>



More information about the ffmpeg-devel mailing list