diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-03 19:40:03 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-03 19:40:03 +0000 |
commit | a050f80234bba5feac274eeeef6062f1e1578d82 (patch) | |
tree | a19f955062fac60ae899632fde9caacb32ecded2 | |
parent | 1e5f5e3b7a9e791742dc32a5d6867092b5d260de (diff) | |
download | ffmpeg-a050f80234bba5feac274eeeef6062f1e1578d82.tar.gz |
Correct wrong avformat documentation.
Originally committed as revision 8206 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 12726cb93b..22abd75c84 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -540,7 +540,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt); * 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 @@ int parse_image_size(int *width_ptr, int *height_ptr, const char *str); /** * 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); |