You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit 'd84429d41e24437536907af1e6b73197ecf3f6db'
* commit 'd84429d41e24437536907af1e6b73197ecf3f6db': dnxhd: Print unknown header when found Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -129,7 +129,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame, | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     if (memcmp(buf, header_prefix, 5) && memcmp(buf, header_prefix444, 5)) { |     if (memcmp(buf, header_prefix, 5) && memcmp(buf, header_prefix444, 5)) { | ||||||
|         av_log(ctx->avctx, AV_LOG_ERROR, "error in header\n"); |         av_log(ctx->avctx, AV_LOG_ERROR, | ||||||
|  |                "unknown header 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X\n", | ||||||
|  |                buf[0], buf[1], buf[2], buf[3], buf[4]); | ||||||
|         return AVERROR_INVALIDDATA; |         return AVERROR_INVALIDDATA; | ||||||
|     } |     } | ||||||
|     if (buf[5] & 2) { /* interlaced */ |     if (buf[5] & 2) { /* interlaced */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user