# HG changeset patch # User michael # Date 1208086905 0 # Node ID 2bf3b94c17d477304aa02ac10819373f6751f7a7 # Parent 7adc8fcec695695483cfd4996d6066e4596f8171 indent diff -r 7adc8fcec695 -r 2bf3b94c17d4 avidec.c --- a/avidec.c Sun Apr 13 11:41:09 2008 +0000 +++ b/avidec.c Sun Apr 13 11:41:45 2008 +0000 @@ -380,13 +380,13 @@ ast->scale = get_le32(pb); ast->rate = get_le32(pb); if(!(ast->scale && ast->rate)){ - if(frame_period){ - ast->rate = 1000000; - ast->scale = frame_period; - }else{ - ast->rate = 25; - ast->scale = 1; - } + if(frame_period){ + ast->rate = 1000000; + ast->scale = frame_period; + }else{ + ast->rate = 25; + ast->scale = 1; + } } av_set_pts_info(st, 64, ast->scale, ast->rate);