mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ext/vorbis/vorbisdec.c: Don't error out on 0-sized packets, just emit a warning because this is not a fatal error. Fi...
Original commit message from CVS: * ext/vorbis/vorbisdec.c: (vorbis_dec_decode_buffer): Don't error out on 0-sized packets, just emit a warning because this is not a fatal error. Fixes #451145.
This commit is contained in:
parent
757e358d24
commit
4e676414f0
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-06-27 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/vorbis/vorbisdec.c: (vorbis_dec_decode_buffer):
|
||||
Don't error out on 0-sized packets, just emit a warning because this is
|
||||
not a fatal error. Fixes #451145.
|
||||
|
||||
2007-06-25 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/plugins/gst-plugins-base-plugins.args:
|
||||
|
|
|
@ -1150,8 +1150,11 @@ done:
|
|||
/* ERRORS */
|
||||
wrong_size:
|
||||
{
|
||||
GST_ELEMENT_ERROR (vd, STREAM, DECODE, (NULL), ("empty buffer received"));
|
||||
result = GST_FLOW_ERROR;
|
||||
/* don't error out here, just ignore the buffer, it's invalid for vorbis but
|
||||
* not fatal. */
|
||||
GST_ELEMENT_WARNING (vd, STREAM, DECODE, (NULL),
|
||||
("empty buffer received, ignoring"));
|
||||
result = GST_FLOW_OK;
|
||||
vd->discont = TRUE;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue