[FFmpeg-devel] [PATCH] lavf: move fields that appear to be intended as public API to the correct section
Paul B Mahol
onemda at gmail.com
Wed Sep 26 19:54:10 CEST 2012
On 9/26/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavformat/avformat.h | 23 +++++++++++++++--------
> 1 file changed, 15 insertions(+), 8 deletions(-)
>
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 166fdbb..b1129e4 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -1111,6 +1111,21 @@ typedef struct AVFormatContext {
> */
> int use_wallclock_as_timestamps;
>
> + /**
> + * avio flags, used to force AVIO_FLAG_DIRECT.
> + * - encoding: unused
> + * - decoding: Set by user via AVOptions (NO direct access)
> + */
> + int avio_flags;
> +
> + /**
> + * The duration field can be estimated through various ways, and this
> field can be used
> + * to know how the duration was estimated.
> + * - encoding: unused
> + * - decoding: Readt by user via AVOptions (NO direct access)
typo
> + */
> + enum AVDurationEstimationMethod duration_estimation_method;
> +
> /*****************************************************************
> * All fields below this line are not part of the public API. They
> * may not be used outside of libavformat and can be changed and
> @@ -1148,14 +1163,6 @@ typedef struct AVFormatContext {
> */
> #define RAW_PACKET_BUFFER_SIZE 2500000
> int raw_packet_buffer_remaining_size;
> -
> - int avio_flags;
> -
> - /**
> - * The duration field can be estimated through various ways, and this
> field can be used
> - * to know how the duration was estimated.
> - */
> - enum AVDurationEstimationMethod duration_estimation_method;
> } AVFormatContext;
>
> /**
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list