Revision 08ad81cb libavformat/avformat.h

View differences:

libavformat/avformat.h
951 951
 * @param buf buffer
952 952
 * @param size buffer size
953 953
 *
954
 * @see av_hex_dump_log, av_pkt_dump, av_pkt_dump_log
954
 * @see av_hex_dump_log, av_pkt_dump2, av_pkt_dump_log2
955 955
 */
956 956
void av_hex_dump(FILE *f, uint8_t *buf, int size);
957 957

  
......
965 965
 * @param buf buffer
966 966
 * @param size buffer size
967 967
 *
968
 * @see av_hex_dump, av_pkt_dump, av_pkt_dump_log
968
 * @see av_hex_dump, av_pkt_dump2, av_pkt_dump_log2
969 969
 */
970 970
void av_hex_dump_log(void *avcl, int level, uint8_t *buf, int size);
971 971

  
......
975 975
 * @param f The file stream pointer where the dump should be sent to.
976 976
 * @param pkt packet to dump
977 977
 * @param dump_payload True if the payload must be displayed, too.
978
 * @param st AVStream that the packet belongs to
978 979
 */
979
void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload);
980
void av_pkt_dump2(FILE *f, AVPacket *pkt, int dump_payload, AVStream *st);
981

  
982
attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload);
980 983

  
981 984
/**
982 985
 * Send a nice dump of a packet to the log.
......
987 990
 * higher importance.
988 991
 * @param pkt packet to dump
989 992
 * @param dump_payload True if the payload must be displayed, too.
993
 * @param st AVStream that the packet belongs to
990 994
 */
991
void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
995
void av_pkt_dump_log2(void *avcl, int level, AVPacket *pkt, int dump_payload,
996
                      AVStream *st);
997

  
998
attribute_deprecated void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt,
999
                                          int dump_payload);
992 1000

  
993 1001
/**
994 1002
 * Initialize libavformat and register all the muxers, demuxers and

Also available in: Unified diff