diff options
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index b9519ac0a..eb8d2d20a 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1436,7 +1436,7 @@ mp3_type_find_at_offset (GstTypeFind * tf, guint64 start_off, offset += length; } g_assert (found <= GST_MP3_TYPEFIND_TRY_HEADERS); - if (head_data == NULL && + if (found != 0 && head_data == NULL && gst_type_find_peek (tf, offset + start_off - 1, 1) == NULL) /* Incomplete last frame - don't count it. */ found--; |