On Thu, 13 Feb 2014 11:29:54 +0100, Janne Grunau <janne-li...@jannau.net> wrote:
> User data is usually coded before slice data. That means the frame
> the user data belongs to is not available while parsing the user data.
> The stereo3D side data has to use the same indirection over the private
> context as pan scan information and A53 captions.
> 
> Bug-Id:632
> ---
>  libavcodec/mpeg12dec.c | 26 +++++++++++++++++---------
>  1 file changed, 17 insertions(+), 9 deletions(-)
> 
> diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
> index 149d5f4..cb713fd 100644
> --- a/libavcodec/mpeg12dec.c
> +++ b/libavcodec/mpeg12dec.c
> @@ -46,6 +46,8 @@ typedef struct Mpeg1Context {
>      int mpeg_enc_ctx_allocated; /* true if decoding context allocated */
>      int repeat_field;           /* true if we must repeat the field */
>      AVPanScan pan_scan;         /* some temporary storage for the panscan */
> +    AVStereo3D stereo3d;

this should be allocated with av_stereo3d_alloc() i think

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to