summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-08-26 16:05:58 +0200
committerThibault Saunier <thibault.saunier@collabora.com>2011-08-31 09:31:08 -0300
commit9495bfa8a06f6eedafb49ec222bcd0a81efc43af (patch)
treeec918981199d981d194f27af0acacea45f8c5f13
parent66098502ccbc7fb3128ee4151a1e18387e1ed0ce (diff)
codecparsers: h264: fix ref_pic_list_reordering().
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index ad7a067fb..8e4e21253 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -720,7 +720,7 @@ slice_parse_ref_pic_list_reordering (GstH264SliceHdr * slice, NalReader * nr)
{
GST_DEBUG ("parsing \"Reference picture list reordering\"");
- if (!(slice->type == GST_H264_I_SLICE) && !(slice->type == GST_H264_SI_SLICE)) {
+ if (!GST_H264_IS_I_SLICE (slice) && !GST_H264_IS_SI_SLICE (slice)) {
guint8 ref_pic_list_reordering_flag_l0;
guint32 reordering_of_pic_nums_idc;
@@ -741,7 +741,7 @@ slice_parse_ref_pic_list_reordering (GstH264SliceHdr * slice, NalReader * nr)
} while (reordering_of_pic_nums_idc != 3);
}
- if (slice->type == GST_H264_B_SLICE) {
+ if (GST_H264_IS_B_SLICE (slice)) {
guint8 ref_pic_list_reordering_flag_l1;
guint32 reordering_of_pic_nums_idc;