changeset 4217:2f3780431c5a libavformat

consider other codecs packets contain only one access unit, not just audio
author bcoudurier
date Wed, 14 Jan 2009 23:53:31 +0000
parents de2177071c01
children 4162b8362ed6
files mpegtsenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegtsenc.c	Wed Jan 14 23:49:13 2009 +0000
+++ b/mpegtsenc.c	Wed Jan 14 23:53:31 2009 +0000
@@ -720,7 +720,7 @@
                 break;
             }
         }
-    } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
+    } else {
         access_unit_index = pkt->data;
     }