changeset 2319:4b2f8d27c8ba libavformat

more verbose error
author michael
date Mon, 06 Aug 2007 20:37:45 +0000
parents e5c3b6e7b6ef
children e33a7c4d1bd5
files asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Mon Aug 06 20:36:55 2007 +0000
+++ b/asf.c	Mon Aug 06 20:37:45 2007 +0000
@@ -829,7 +829,7 @@
             /* return packet */
             if (asf_st->ds_span > 1) {
               if(asf_st->pkt.size != asf_st->ds_packet_size * asf_st->ds_span){
-                    av_log(s, AV_LOG_ERROR, "pkt.size != ds_packet_size * ds_span\n");
+                    av_log(s, AV_LOG_ERROR, "pkt.size != ds_packet_size * ds_span (%d %d %d)\n", asf_st->pkt.size, asf_st->ds_packet_size, asf_st->ds_span);
               }else{
                 /* packet descrambling */
                 uint8_t *newdata = av_malloc(asf_st->pkt.size);