rtp: fix static array overruns in a nicer way
authorStefan Kost <ensonic@users.sf.net>
Fri, 20 May 2011 07:34:47 +0000 (10:34 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 20 May 2011 07:34:47 +0000 (10:34 +0300)
commitd122ea01222f6a4ed08f2935ef6e0e06f06bfa20
tree44cd89ca27293335222f9f7f44a78fc1f7b5a682
parent5792d3b9c08ac2eefb793abdaee2e2ec6c48bd71
rtp: fix static array overruns in a nicer way

Use G_N_ELEMENTS instead of hard-coding the array size.
gst/rtp/gstrtpjpegpay.c
gst/rtp/gstrtpmp4adepay.c
gst/rtp/gstrtpqcelpdepay.c