Commit cab3cb22 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent 9e6ae518
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),
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment