rtp{vorbis,theora}{pay,depay}: Cosmetic cleanup
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 19 Sep 2015 15:04:07 +0000 (17:04 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 20 Sep 2015 08:13:38 +0000 (10:13 +0200)
commit2d7bfc13141ad751e2de833b85efa11a2b8a52ef
treec4823955408c19d19fcda9f76bed5f414a9f9051
parent869e21bd82c413425e3fa4d959c2ff3f3b0f9430
rtp{vorbis,theora}{pay,depay}: Cosmetic cleanup

* use g_list_free_full(), don't iterate elements maually when freeing
* call gst_rtp_*_pay_clear_packet(), don't duplicate its code
* use gst_buffer_unref() to clarify that it is buffers being released,
  instead of refering directly to gst_mini_object_unref()

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755277
gst/rtp/gstrtptheorapay.c
gst/rtp/gstrtpvorbisdepay.c
gst/rtp/gstrtpvorbispay.c