[FFmpeg-devel] [PATCH] ac3dec: allow selecting float output at runtime.
Michael Niedermayer
michaelni at gmx.at
Mon Apr 25 14:33:35 CEST 2011
On Mon, Apr 25, 2011 at 12:11:47PM +0200, Reimar Döffinger wrote:
> ---
> libavcodec/ac3dec.c | 45 ++++++++++++++++++---------------------------
> libavcodec/avcodec.h | 8 ++++++++
> 2 files changed, 26 insertions(+), 27 deletions(-)
[...]
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index cd28cf3..903d17a 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -2878,6 +2878,14 @@ typedef struct AVCodecContext {
> int64_t pts_correction_last_pts; /// PTS of the last frame
> int64_t pts_correction_last_dts; /// DTS of the last frame
>
> + /**
> + * desired sample format
> + * - encoding: Not used.
> + * - decoding: Set by user.
> + * Decoder will decode to this format if it can.
> + */
> + enum AVSampleFormat request_sample_fmt;
> +
> } AVCodecContext;
missing entry in AVOption array
otherwise LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110425/13783f29/attachment.asc>
More information about the ffmpeg-devel
mailing list