lavc: revert broken hunk from 1cd9c81ddb
				
					
				
			This should fix fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		@@ -888,10 +888,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
 | 
					    if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
 | 
				
			||||||
        if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
 | 
					        if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
 | 
				
			||||||
            av_log(avctx, AV_LOG_ERROR,
 | 
					            av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, try -strict -2\n");
 | 
				
			||||||
                   "Codec %s is experimental but experimental codecs are not enabled: "
 | 
					 | 
				
			||||||
                   "try the \"strict\" option with value \"experimental\"\n",
 | 
					 | 
				
			||||||
                   avctx->codec->name);
 | 
					 | 
				
			||||||
            ret = -1;
 | 
					            ret = -1;
 | 
				
			||||||
            goto free_and_end;
 | 
					            goto free_and_end;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user