the user sets codec->time_base for video encding so she should also set it for audio...