Commit 0f6928c0 authored by michael's avatar michael

more verbose error


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9964 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 91fb01e3
...@@ -829,7 +829,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -829,7 +829,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
/* return packet */ /* return packet */
if (asf_st->ds_span > 1) { if (asf_st->ds_span > 1) {
if(asf_st->pkt.size != asf_st->ds_packet_size * asf_st->ds_span){ 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{ }else{
/* packet descrambling */ /* packet descrambling */
uint8_t *newdata = av_malloc(asf_st->pkt.size); uint8_t *newdata = av_malloc(asf_st->pkt.size);
......
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