]> git.sesse.net Git - ffmpeg/commit
lavc: make avcodec_open2() fail when the timebase is not set for encoding
authorAnton Khirnov <anton@khirnov.net>
Mon, 2 May 2016 16:38:41 +0000 (18:38 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 16 May 2016 08:30:57 +0000 (10:30 +0200)
commite62ff72fc1052273deb708ba715f73e5187281d4
treeca8c6ad329605a8305eec403e4ca8f80db9c09c9
parent11de006babf735aafa3462d43dd2c02bb6ac6e2f
lavc: make avcodec_open2() fail when the timebase is not set for encoding

Many encoders use it. There is also a divide by the timebase lower in
this function, which would crash when it is not set.
libavcodec/utils.c