mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 07:26:29 +00:00
rdt: reset map info
This commit is contained in:
parent
a04d61ee6d
commit
445af55d9f
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "gstrdtbuffer.h"
|
#include "gstrdtbuffer.h"
|
||||||
|
|
||||||
|
@ -205,6 +206,7 @@ gst_rdt_buffer_get_first_packet (GstBuffer * buffer, GstRDTPacket * packet)
|
||||||
packet->buffer = buffer;
|
packet->buffer = buffer;
|
||||||
packet->offset = 0;
|
packet->offset = 0;
|
||||||
packet->type = GST_RDT_TYPE_INVALID;
|
packet->type = GST_RDT_TYPE_INVALID;
|
||||||
|
memset (&packet->map, 0, sizeof (GstMapInfo));
|
||||||
|
|
||||||
if (!read_packet_header (packet))
|
if (!read_packet_header (packet))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue