On 4/9/11 7:32 AM, Anton Khirnov wrote:
On Fri, Apr 08, 2011 at 11:37:24PM -0400, Alexander Strange wrote:

On Apr 8, 2011, at 5:48 AM, Anton Khirnov wrote:

---
libavformat/avformat.h |    4 +++-
libavformat/utils.c    |    4 ++++
libavformat/version.h  |    3 +++
3 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 61babdc..6b1b2b4 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -978,7 +978,6 @@ void av_hex_dump_log(void *avcl, int level, uint8_t *buf, 
int size);
  */
void av_pkt_dump2(FILE *f, AVPacket *pkt, int dump_payload, AVStream *st);

-attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int 
dump_payload);

/**
  * Send a nice dump of a packet to the log.
@@ -994,7 +993,10 @@ attribute_deprecated void av_pkt_dump(FILE *f, AVPacket 
*pkt, int dump_payload);
void av_pkt_dump_log2(void *avcl, int level, AVPacket *pkt, int dump_payload,
                       AVStream *st);

+#if FF_API_PKT_DUMP
+attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int 
dump_payload);
attribute_deprecated void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt,
+#endif
                                           int dump_payload);

Misplaced #endif


Oops, I wonder how it got there. Thanks for spotting it.


Obviously ok

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to