|  | @@ -172,19 +172,19 @@ static int dnxhd_encode_init(AVCodecContext *avctx) | 
														
													
														
															
																|  |  | int i, index; |  |  | int i, index; | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | if (avctx->width == 1920 && avctx->height == 1080) { |  |  | if (avctx->width == 1920 && avctx->height == 1080) { | 
														
													
														
															
																|  |  | if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) { |  |  |  | 
														
													
														
															
																|  |  | if      (avctx->bit_rate == 120000000) |  |  |  | 
														
													
														
															
																|  |  | ctx->cid = 1242; |  |  |  | 
														
													
														
															
																|  |  | else if (avctx->bit_rate == 185000000) |  |  |  | 
														
													
														
															
																|  |  | ctx->cid = 1243; |  |  |  | 
														
													
														
															
																|  |  | } else { |  |  |  | 
														
													
														
															
																|  |  | if      (avctx->bit_rate == 120000000) |  |  |  | 
														
													
														
															
																|  |  | ctx->cid = 1237; |  |  |  | 
														
													
														
															
																|  |  | else if (avctx->bit_rate == 185000000) |  |  |  | 
														
													
														
															
																|  |  | ctx->cid = 1238; |  |  |  | 
														
													
														
															
																|  |  | else if (avctx->bit_rate ==  36000000) |  |  |  | 
														
													
														
															
																|  |  | ctx->cid = 1253; |  |  |  | 
														
													
														
															
																|  |  | } |  |  |  | 
														
													
														
															
																|  |  |  |  |  | if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) { | 
														
													
														
															
																|  |  |  |  |  | if      (avctx->bit_rate == 120000000) | 
														
													
														
															
																|  |  |  |  |  | ctx->cid = 1242; | 
														
													
														
															
																|  |  |  |  |  | else if (avctx->bit_rate == 185000000) | 
														
													
														
															
																|  |  |  |  |  | ctx->cid = 1243; | 
														
													
														
															
																|  |  |  |  |  | } else { | 
														
													
														
															
																|  |  |  |  |  | if      (avctx->bit_rate == 120000000) | 
														
													
														
															
																|  |  |  |  |  | ctx->cid = 1237; | 
														
													
														
															
																|  |  |  |  |  | else if (avctx->bit_rate == 185000000) | 
														
													
														
															
																|  |  |  |  |  | ctx->cid = 1238; | 
														
													
														
															
																|  |  |  |  |  | else if (avctx->bit_rate ==  36000000) | 
														
													
														
															
																|  |  |  |  |  | ctx->cid = 1253; | 
														
													
														
															
																|  |  |  |  |  | } | 
														
													
														
															
																|  |  | } else if (avctx->width == 1280 && avctx->height == 720 && |  |  | } else if (avctx->width == 1280 && avctx->height == 720 && | 
														
													
														
															
																|  |  | !(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) { |  |  | !(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) { | 
														
													
														
															
																|  |  | if      (avctx->bit_rate ==  90000000) |  |  | if      (avctx->bit_rate ==  90000000) | 
														
													
												
													
														
															
																|  | 
 |