projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8992c
)
video.c: use g_assert_not_reached() for logical error here.
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 23 May 2011 10:49:01 +0000
(13:49 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Mon, 23 May 2011 10:50:09 +0000
(13:50 +0300)
This will help to detect them closer to the source if they ever happen.
gst-libs/gst/video/video.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video.c
b/gst-libs/gst/video/video.c
index
1cceec5
..
db61f54
100644
(file)
--- a/
gst-libs/gst/video/video.c
+++ b/
gst-libs/gst/video/video.c
@@
-658,10
+658,10
@@
gst_video_format_new_caps_raw (GstVideoFormat format)
blue_mask = GST_VIDEO_COMP1_MASK_15_INT;
break;
default:
-
return NULL
;
+
g_assert_not_reached ()
;
}
} else if (bpp != 8) {
-
return NULL
;
+
g_assert_not_reached ()
;
}
caps = gst_caps_new_simple ("video/x-raw-rgb",