author | Wim Taymans <wim.taymans@gmail.com> | |
Thu, 27 Jul 2006 11:00:21 +0000 (11:00 +0000) | ||
committer | Wim Taymans <wim.taymans@gmail.com> | |
Thu, 27 Jul 2006 11:00:21 +0000 (11:00 +0000) | ||
commit | c7853c7629856648c2795cf3fd648147dc0512da | |
tree | bfe67776d8b5f9a9b91a27200cf04d89d73e7c96 | tree | snapshot (tar.xz tar.gz zip) |
parent | 55a6159205e00a88f007a59017fa320871ca338a | commit | diff |
gst/gstcaps.c: Fix useless assert, a uint is always positive.
Original commit message from CVS:
* gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
Fix useless assert, a uint is always positive.
* gst/gststructure.c: (gst_structure_nth_field_name),
(gst_structure_foreach), (gst_structure_map_in_place):
Check input arguments for public functions to avoid obvious crashes.
* plugins/elements/gstfakesink.c: (gst_fake_sink_render):
* plugins/elements/gstfakesink.h:
Do less useless typechecking.
Original commit message from CVS:
* gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
Fix useless assert, a uint is always positive.
* gst/gststructure.c: (gst_structure_nth_field_name),
(gst_structure_foreach), (gst_structure_map_in_place):
Check input arguments for public functions to avoid obvious crashes.
* plugins/elements/gstfakesink.c: (gst_fake_sink_render):
* plugins/elements/gstfakesink.h:
Do less useless typechecking.