# HG changeset patch # User takis # Date 1172950803 0 # Node ID 2c91663b3bc6a2eaf3442f81e2b0b014988399af # Parent 9cd8cb3275f6ef7a9ed973dd93023b026602625f Correct wrong avformat documentation. diff -r 9cd8cb3275f6 -r 2c91663b3bc6 avformat.h --- a/avformat.h Sat Mar 03 14:55:11 2007 +0000 +++ b/avformat.h Sat Mar 03 19:40:03 2007 +0000 @@ -540,7 +540,7 @@ * then it contains one frame. * * pkt->pts, pkt->dts and pkt->duration are always set to correct - * values in AV_TIME_BASE unit (and guessed if the format cannot + * values in AVStream.timebase units (and guessed if the format cannot * provided them). pkt->pts can be AV_NOPTS_VALUE if the video format * has B frames, so it is better to rely on pkt->dts if you do not * decompress the payload. @@ -734,10 +734,6 @@ /** * Converts frame rate from string to a fraction. - * - * First we try to get an exact integer or fractional frame rate. - * If this fails we convert the frame rate to a double and return - * an approximate fraction using the DEFAULT_FRAME_RATE_BASE. */ int parse_frame_rate(int *frame_rate, int *frame_rate_base, const char *arg);