ext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push), (vorbis_dec_chain):
Still produce an error when we receive an empty packet.
This commit is contained in:
Wim Taymans 2006-05-03 15:52:46 +00:00
parent 9e6ae51849
commit cab3cb22e5
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-05-03 Wim Taymans <wim@fluendo.com>
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push), (vorbis_dec_chain):
Still produce an error when we receive an empty packet.
2006-05-03 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),

View file

@ -914,8 +914,8 @@ done:
/* ERRORS */
wrong_size:
{
GST_WARNING_OBJECT (vd, "received empty packet");
result = GST_FLOW_OK;
GST_ELEMENT_ERROR (vd, STREAM, DECODE, (NULL), ("empty buffer received"));
result = GST_FLOW_ERROR;
vd->discont = TRUE;
goto done;
}