# HG changeset patch # User michael # Date 1119827099 0 # Node ID d2b3f948599d89fb2995bf7f5c735a1dc0dd1a35 # Parent 49da251f260814e724102eeb447c9cce7489fb93 tiny docs improvement which i apparebtly forgot to commit diff -r 49da251f2608 -r d2b3f948599d avcodec.h --- a/avcodec.h Thu Jun 23 20:24:25 2005 +0000 +++ b/avcodec.h Sun Jun 26 23:04:59 2005 +0000 @@ -796,7 +796,10 @@ 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 @@ * - 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