summaryrefslogtreecommitdiff
path: root/src/libac3
diff options
context:
space:
mode:
Diffstat (limited to 'src/libac3')
-rw-r--r--src/libac3/xine_decoder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libac3/xine_decoder.c b/src/libac3/xine_decoder.c
index 74122c960..46ac1b8a3 100644
--- a/src/libac3/xine_decoder.c
+++ b/src/libac3/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.9 2001/05/31 22:54:39 guenter Exp $
+ * $Id: xine_decoder.c,v 1.10 2001/06/09 17:07:21 guenter Exp $
*
* stuff needed to turn libac3 into a xine decoder plugin
*/
@@ -120,6 +120,9 @@ void ac3dec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
uint8_t byte;
+ if (buf->decoder_info[0] == 0)
+ return;
+
this->pts = buf->PTS;
while (current != end) {