Opened 11 years ago

Closed 11 years ago

#1805 closed defect (invalid)

Undefined reference to av_set_parameters and av_write_header

Reported by: Kumar Vishal Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: Linking Error
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello admin while compiling
program (api-example.c) attached as well as Makefile
I got below errors.
I had ffmpeg-1.0
through nm I tried to find symbols libavformat but couldn't find
undefined reference to `av_set_parameters'
undefined reference to `av_write_header

Attachments (1)

files.tar.gz (54.7 KB ) - added by Kumar Vishal 11 years ago.
.c make file and dir struct snap shot

Download all attachments as: .zip

Change History (2)

by Kumar Vishal, 11 years ago

Attachment: files.tar.gz added

.c make file and dir struct snap shot

in reply to:  description comment:1 by Stefano Sabatini, 11 years ago

Resolution: invalid
Status: newclosed

Replying to kumarvis:

Hello admin while compiling
program (api-example.c) attached as well as Makefile
I got below errors.
I had ffmpeg-1.0
through nm I tried to find symbols libavformat but couldn't find
undefined reference to `av_set_parameters'
undefined reference to `av_write_header

Your file api-example.c is using long time deprecated and dropped functions. Check the files in doc/examples for updated usage of the new FFmpeg API shipped with the 1.0 release.

Note: See TracTickets for help on using tickets.