OSDN Git Service

Clarify the avoidance of usage of these AVStream fields.
authorVíctor Paesa <victorpaesa@googlemail.com>
Sun, 11 Jul 2010 14:56:32 +0000 (14:56 +0000)
committerVíctor Paesa <victorpaesa@googlemail.com>
Sun, 11 Jul 2010 14:56:32 +0000 (14:56 +0000)
Originally committed as revision 24198 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h

index cb21dac..7d7fce8 100644 (file)
@@ -498,7 +498,8 @@ typedef struct AVStream {
 
     AVMetadata *metadata;
 
-    /* av_read_frame() support */
+    /* Intended mostly for av_read_frame() support. Not supposed to be used by */
+    /* external applications; try to use something else if at all possible.    */
     const uint8_t *cur_ptr;
     int cur_len;
     AVPacket cur_pkt;