|  | @@ -3788,6 +3788,13 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, | 
														
													
														
															
																|  |  | * @{ |  |  | * @{ | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  |  |  |  | enum AVPictureStructure { | 
														
													
														
															
																|  |  |  |  |  | AV_PICTURE_STRUCTURE_UNKNOWN,      //< unknown | 
														
													
														
															
																|  |  |  |  |  | AV_PICTURE_STRUCTURE_TOP_FIELD,    //< coded as top field | 
														
													
														
															
																|  |  |  |  |  | AV_PICTURE_STRUCTURE_BOTTOM_FIELD, //< coded as bottom field | 
														
													
														
															
																|  |  |  |  |  | AV_PICTURE_STRUCTURE_FRAME,        //< coded as frame | 
														
													
														
															
																|  |  |  |  |  | }; | 
														
													
														
															
																|  |  |  |  |  | 
 | 
														
													
														
															
																|  |  | typedef struct AVCodecParserContext { |  |  | typedef struct AVCodecParserContext { | 
														
													
														
															
																|  |  | void *priv_data; |  |  | void *priv_data; | 
														
													
														
															
																|  |  | struct AVCodecParser *parser; |  |  | struct AVCodecParser *parser; | 
														
													
												
													
														
															
																|  | @@ -3924,6 +3931,16 @@ typedef struct AVCodecParserContext { | 
														
													
														
															
																|  |  | int duration; |  |  | int duration; | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | enum AVFieldOrder field_order; |  |  | enum AVFieldOrder field_order; | 
														
													
														
															
																|  |  |  |  |  | 
 | 
														
													
														
															
																|  |  |  |  |  | /** | 
														
													
														
															
																|  |  |  |  |  | * Indicate whether a picture is coded as a frame, top field or bottom field. | 
														
													
														
															
																|  |  |  |  |  | * | 
														
													
														
															
																|  |  |  |  |  | * For example, H.264 field_pic_flag equal to 0 corresponds to | 
														
													
														
															
																|  |  |  |  |  | * AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag | 
														
													
														
															
																|  |  |  |  |  | * equal to 1 and bottom_field_flag equal to 0 corresponds to | 
														
													
														
															
																|  |  |  |  |  | * AV_PICTURE_STRUCTURE_TOP_FIELD. | 
														
													
														
															
																|  |  |  |  |  | */ | 
														
													
														
															
																|  |  |  |  |  | enum AVPictureStructure picture_structure; | 
														
													
														
															
																|  |  | } AVCodecParserContext; |  |  | } AVCodecParserContext; | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | typedef struct AVCodecParser { |  |  | typedef struct AVCodecParser { | 
														
													
												
													
														
															
																|  | 
 |