Ticket #1805 (closed defect: invalid)

Opened 7 months ago

Last modified 7 months ago

Undefined reference to av_set_parameters and av_write_header

Reported by: kumarvis 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

files.tar.gz Download (54.7 KB) - added by kumarvis 7 months ago.
.c make file and dir struct snap shot

Change History

Changed 7 months ago by kumarvis

.c make file and dir struct snap shot

comment:1 in reply to: ↑ description Changed 7 months ago by saste

  • Status changed from new to closed
  • Resolution set to invalid

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.