On Thu, May 23, 2013 at 04:37:24PM +0900, Yusuke Nakamura wrote:
> 
> OK. Attached new patches use an enum for picture_structure and take
> suggestions on IRC.

> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -3407,6 +3407,13 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, 
> AVSubtitle *sub,
>  
> +enum AVPictureStructure {
> +    AV_PICT_STRUCT_UNKNOWN,      //< unknown
> +    AV_PICT_STRUCT_TOP_FIELD,    //< coded as top field
> +    AV_PICT_STRUCT_BOTTOM_FIELD, //< coded as bottom field
> +    AV_PICT_STRUCT_FRAME,        //< coded as frame
> +};

Please make the entries AV_PICTURE_STRUCTURE_FOO.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to