[FFmpeg-cvslog] lavc/avcodec.h: keep avframe_* field setter and getter close

Stefano Sabatini git at videolan.org
Sat Jul 14 13:09:48 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jul 12 01:32:24 2012 +0200| [fb5718069853558b0c114176de2e174125b4dfd9] | committer: Stefano Sabatini

lavc/avcodec.h: keep avframe_* field setter and getter close

Slightly more readable, now that the list is getting longer.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb5718069853558b0c114176de2e174125b4dfd9
---

 libavcodec/avcodec.h |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 26b732f..22cb17e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1330,17 +1330,17 @@ typedef struct AVFrame {
  * they should not be accessed directly outside libavcodec.
  */
 int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
-int64_t av_frame_get_pkt_duration         (const AVFrame *frame);
-int64_t av_frame_get_pkt_pos              (const AVFrame *frame);
-int64_t av_frame_get_channel_layout       (const AVFrame *frame);
-int     av_frame_get_sample_rate          (const AVFrame *frame);
-AVDictionary *av_frame_get_metadata       (const AVFrame *frame);
 void    av_frame_set_best_effort_timestamp(AVFrame *frame, int64_t val);
+int64_t av_frame_get_pkt_duration         (const AVFrame *frame);
 void    av_frame_set_pkt_duration         (AVFrame *frame, int64_t val);
+int64_t av_frame_get_pkt_pos              (const AVFrame *frame);
 void    av_frame_set_pkt_pos              (AVFrame *frame, int64_t val);
+int64_t av_frame_get_channel_layout       (const AVFrame *frame);
 void    av_frame_set_channel_layout       (AVFrame *frame, int64_t val);
+int     av_frame_get_sample_rate          (const AVFrame *frame);
 void    av_frame_set_sample_rate          (AVFrame *frame, int     val);
-void    av_frame_set_metadata             (AVFrame *frame, AVDictionary *val);
+AVDictionary *av_frame_get_metadata       (const AVFrame *frame);
+void          av_frame_set_metadata       (AVFrame *frame, AVDictionary *val);
 
 struct AVCodecInternal;
 



More information about the ffmpeg-cvslog mailing list