Hi all, Here's my first proposed patch for fixing https://trac.ffmpeg.org/ticket/7281 <https://trac.ffmpeg.org/ticket/7281>. I'm going to send a second patch that will apply the same set of fixes to dashenc.c. Thanks, Ronak