changeset 2768:d2b3f948599d libavcodec

tiny docs improvement which i apparebtly forgot to commit
author michael
date Sun, 26 Jun 2005 23:04:59 +0000
parents 49da251f2608
children 1394b45a7bf4
files avcodec.h
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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