[FFmpeg-cvslog] lavc: change type of AVFrame.channels field from int64_t to int

Stefano Sabatini git at videolan.org
Sun Feb 24 23:46:06 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Feb  6 01:40:38 2013 +0100| [5085b46496f0df5f4f7259d03f21d3f814aa28e2] | committer: Stefano Sabatini

lavc: change type of AVFrame.channels field from int64_t to int

"channels" is an int in all the other places in the libraries, and the
av_frame_*_channels() accessors return and set an int, so this should not
implicate ABI breaks.

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

 libavcodec/avcodec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9dc6666..f809e3d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1501,7 +1501,7 @@ typedef struct AVFrame {
      * - encoding: unused
      * - decoding: Read by user.
      */
-    int64_t channels;
+    int channels;
 
     /**
      * size of the corresponding packet containing the compressed



More information about the ffmpeg-cvslog mailing list