[FFmpeg-devel] [PATCH] lavc: change type of AVFrame.channels field from int64_t to int
Stefano Sabatini
stefasab at gmail.com
Wed Feb 6 01:44:58 CET 2013
"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.
---
libavcodec/avcodec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ca7764a..24e2574 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1489,7 +1489,7 @@ typedef struct AVFrame {
* - encoding: unused
* - decoding: Read by user.
*/
- int64_t channels;
+ int channels;
/**
* size of the corresponding packet containing the compressed
--
1.7.9.5
More information about the ffmpeg-devel
mailing list