From 40c68e49c5d1a987a4f2725a655244ca47cd34fb Mon Sep 17 00:00:00 2001 From: Mateusz Krawczuk Date: Fri, 17 Apr 2015 16:16:35 +0200 Subject: Add automatic detection of drm, fimc and mfc. Update dates Signed-off-by: Mateusz Krawczuk Signed-off-by: Kamil Debski --- v4l2-mfc-example/parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'v4l2-mfc-example/parser.c') diff --git a/v4l2-mfc-example/parser.c b/v4l2-mfc-example/parser.c index 4fd84db..972cdfc 100644 --- a/v4l2-mfc-example/parser.c +++ b/v4l2-mfc-example/parser.c @@ -4,7 +4,7 @@ * * Really simple stream parser file * - * Copyright 2012 Samsung Electronics Co., Ltd. + * Copyright 2012 - 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -334,6 +334,7 @@ int parse_h264_stream( if (ctx->got_start) { if (out_size < frame_length) { + printf("out_size: %i frame_length: %i\n", out_size, frame_length); err("Output buffer too small for current frame"); return 0; } -- cgit v1.2.3