On Sun, Sep 18, 2016 at 02:45:52PM -0700, Sasi Inguva wrote:
> Is it ok to just log an error and return 0 ?

Is a global timescale of 0 allowed ?
QT does not seem to explicitly say so

can something better be done ?

If you are not sure what to do for the 0 case the best would likely be
to ask for a sample using avpriv_request_sample()

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to