diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-06-26 23:04:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-06-26 23:04:59 +0000 |
commit | 718b27a7d089968da05335df254e58f0f6b30464 (patch) | |
tree | 8f2ce2ada5ad936b8a6f1fdb563c7b6f244f25e5 /libavcodec | |
parent | 3a1d8db3542a34cc42e2b27d7d1ae97333dc4740 (diff) | |
download | ffmpeg-718b27a7d089968da05335df254e58f0f6b30464.tar.gz |
tiny docs improvement which i apparebtly forgot to commit
Originally committed as revision 4394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c090996af5..3ab04e0086 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -796,7 +796,10 @@ typedef struct AVCodecContext { enum SampleFormat sample_fmt; ///< sample format, currenly unused /* the following data should not be initialized */ - int frame_size; ///< in samples, initialized when calling 'init' + /** + * samples per packet. initialized when calling 'init' + */ + int frame_size; int frame_number; ///< audio or video frame number int real_pict_num; ///< returns the real picture number of previous encoded frame @@ -1013,8 +1016,12 @@ typedef struct AVCodecContext { * - decoding: set by lavc */ int has_b_frames; - - int block_align; ///< used by some WAV based audio codecs + + /** + * number of bytes per packet if constant and known or 0 + * used by some WAV based audio codecs + */ + int block_align; int parse_only; /* - decoding only: if true, only parsing is done (function avcodec_parse_frame()). The frame |