summaryrefslogtreecommitdiff
path: root/gst/ivfparse
diff options
context:
space:
mode:
Diffstat (limited to 'gst/ivfparse')
-rw-r--r--gst/ivfparse/gstivfparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c
index c50c36197..14dd0dda7 100644
--- a/gst/ivfparse/gstivfparse.c
+++ b/gst/ivfparse/gstivfparse.c
@@ -299,7 +299,7 @@ gst_ivf_parse_handle_frame_data (GstIvfParse * ivf, GstBaseParseFrame * frame,
GstBuffer *out_buffer;
gst_buffer_map (buffer, &map, GST_MAP_READ);
- if (map.size >= IVF_FILE_HEADER_SIZE) {
+ if (map.size >= IVF_FRAME_HEADER_SIZE) {
guint32 frame_size = GST_READ_UINT32_LE (map.data);
guint64 frame_pts = GST_READ_UINT64_LE (map.data + 4);